﻿@model BackEnd.Models.ItemTypeModel
@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Create Item Type</h2>
@using (Html.BeginForm("Create", "ItemType", FormMethod.Post))
{ 
    <table>
        <tr>
            <td>@Html.LabelFor(m => m.Name)</td>
            <td>@Html.TextBoxFor(m => m.Name)
                    @Html.ValidationMessage("Name", new { style="color:#CC0000"})</td>
        </tr>        
        <tr>
            <td></td>
            <td>
                <img class="NFButtonLeft NFh" src="/Content/Img/0.png"><input id="submit" class="NFButton NFh" type="submit" value="Create" name="submit"><img class="NFButtonRight NFh" src="/Content/Img/0.png">
                @Html.ActionLink("Back", "Index", "ItemType")
            </td>
        </tr>
    </table>
}
